#include "Game2DPlay.h"
Game2DPlay*	Game2DPlay::_instance;
GraphicsBuffer*	Game2DPlay::_bf;

Game2DPlay::Game2DPlay(HWND hwnd)
{
	_hwnd = hwnd;
	_mapPlay = NULL;
}
bool Game2DPlay::GameInit()
{
	obj = new MoveObject();
	/*
	if(_mapPlay == NULL)
		delete _mapPlay;
	_mapPlay = new Game2DMap(0);
	_background=_bf->LoadSuface("Images\\BackGroundNight.png",D3DCOLOR_ARGB(255,0,0,0));
	return true;*/
}
void Game2DPlay::GameRun(HWND hwnd, DWORD word)
{
	//_bf->BeginRender(hwnd,_background);
	//_mapPlay->Draw();
	//_bf->EndRender();
}